/**
 * 
 */
package org.mhz.sit.service;

import java.util.List;

import org.mhz.sit.dataaccess.LanguagesDAO;
import org.mhz.sit.entity.Language;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author Mahan
 *
 * Configure language service
 */
public class ConfigureLanguageService implements LanguageService
{
    private static final Logger LOGGER = LoggerFactory.getLogger(ConfigureLanguageService.class);

    private LanguagesDAO mLanguagesDAO = new LanguagesDAO();
    
    /* (non-Javadoc)
     * @see org.mhz.sit.service.SpeakerService#getList()
     */
    @Override
    public List<Language> getList()
    {
        final List<Language> languages = mLanguagesDAO.getAll();   
                
        return languages;
    }
}
